package protocol;

public class Info
{
    // messages
    public static final String MSG_CANDIDATES = "candidates";
    public static final String MSG_REG_FAIL = "Registration failed.";
    public static final String MSG_ALL_GOOD = "Everything worked. Bye.";
    public static final String MSG_ERROR_BLINDING = "You cheating bastard.";
    public static final String MSG_CHECK_HASH = "hash";
    // ports
    public static final int VOTE_PORT = 1234;
    public static final int REGISTRATION_PORT = 34623;
    public static final int TOR_PORT = 6688;
    public static final int PUBLISH_SERVER = 55555;
    // server config
    public static final long UNTIL_END_OF_REGISTRATION_SECONDS = 60 * 60;
    public static final long SAVE_DELAY = 30;
    public static final long SAVE_INTERVAL = 5;
    // server host
    public static final String HOST = "89.75.50.95";
    public static final String HOSTIN = "localhost";
}
